* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    height: 30px;
    width: 100%;
    background-color: #333;
}

.nav_container {
    display: flex;
    justify-content: space-between;
    /*左右两端对齐*/
    align-items: center;
    /*垂直居中*/
    max-width: 1200px;
    margin: 0 auto;
    /*水平居中*/
    padding: 0 20px;
}


/*为左导航栏和有导航栏都设置flex布局*/

.nav_left,
.nav_right {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.nav_left li,
.nav_right li {
    list-style-type: none;
}

.nav_left li a,
.nav_right li a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    padding: 1px;
}

.nav_left li a:hover,
.nav_right li a:hover {
    color: red;
    transition: 0.3s;
}


/*主页面*/

.main_container {
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    width: 70%;
    height: auto;
    margin-left: 15%;
    margin-right: 15%;
}

main input {
    margin-left: 40px;
    width: 50%;
    border-radius: 5px;
}

main h3 {
    color: #614e3c;
}

main button {
    width: 60px;
    height: 30px;
    margin-left: 10px;
    color: white;
    background-color: #ff4d4d;
    border-radius: 40%;
}

main button:hover {
    background-color: red;
    transition: 0.3s;
}

.main_nav {
    display: flex;
    width: 80%;
    height: 20px;
}

.main_nav ul {
    margin-top: 5px;
    display: flex;
    gap: 10px;
}

.main_nav ul li {
    list-style-type: none;
}

.main_nav ul li a {
    color: #614e3c;
    font-size: 14px;
    text-decoration: none;
}

.main_nav ul li a:hover {
    color: red;
    transition: 0.3s;
}

.main_img img {
    width: 90%;
    margin-top: 16px;
}

.nav_img {
    width: 100px;
}

.insert_content {
    display: flex;
    margin-left: 15%;
}

.insert_content ul {
    display: flex;
    gap: 10px;
    margin-top: 3px;
    margin-left: 5px;
}

.insert_content ul li {
    list-style-type: none;
}

.insert_content ul li a {
    font-size: 12px;
    margin-left: 10px;
    text-decoration: none;
    color: #614e3c;
}


/*主内容容器*/

.content_container {
    display: flex;
    min-height: 100vh;
    width: 65%;
    margin-left: 15%;
}

.middle_container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 65%;
    margin-left: 15%;
}

.main_content {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    width: 70%;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.aside_content {
    display: flex;
    flex-direction: column;
    width: 30%;
}

.content_section {
    position: relative;
    margin: 20px;
    width: 25%;
    height: 25%;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.section_down {
    position: absolute;
    width: 100%;
    height: 20%;
    margin-bottom: 5px;
}

.main_content img {
    width: 100%;
    height: 80%;
    object-fit: fill;
    border-radius: 10%;
}

.section_down p {
    color: #614e3c;
    font-size: 14px;
    text-align: center;
}

.aside_links ul {
    display: flex;
    flex-wrap: wrap;
}

.aside_links ul li {
    margin-left: 20px;
    list-style-type: none;
}

.aside_links ul li a {
    text-decoration: none;
    font-size: 12px;
    color: #614e3c;
}

.aside_label h5 {
    padding: 10px;
}

.aside_label h6 {
    margin-left: 30px;
    border-bottom: 1px dotted black;
}

.down_container {
    width: 100%;
    height: 300px;
    margin-left: -100px;
}

.down_container img {
    width: 100%;
}

.down_container_1 img {
    width: 600px;
    object-fit: cover;
    margin-left: -150px;
}